<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Sample title</title>
    <meta name="layout" content="main" />
  </head>
  <body>
      <div id="pageBody">
          <h1>Activate Account Status</h1>
    
          ${flash.message}

          <h3>Accounts</h3>

          <table>
                <tr>
                  <th>Username</th>
                  <th>Name</th>
                  <th>Activation Status</th>
                </tr>

                <g:each in="${customers}" var="instance" status="s">

                  <tr>
                        <input type="hidden" name="id" value="${instance.id}" />
                        <td>${instance.username}</td>
                        <td>${instance.lastName}&nbsp;${instance.firstName}</td>
                        <td>${instance.activationStatus}</td>
                        <td><a href="http://localhost:8088/WineXpressClient/accountStatusActivationDetail?id=${instance.id}&username=${instance.username}&lastName=${instance.lastName}&firstName=${instance.firstName}&activationStatus=${instance.activationStatus}"/>Change Status</td>
                  </tr>
                  <input type="hidden" name="password" value="${instance.password}" />

                </g:each>
          </table>
      </div>
  </body>
</html>